Re: Installing PHP from source and no php.ini

From: Date: Sat, 14 Mar 2020 13:34:24 +0000
Subject: Re: Installing PHP from source and no php.ini
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-327043@lists.php.net to get a copy of this message
I am not seeing include_path config in that php.ini Did you add it? On Sat, Mar 14, 2020 at 2:07 AM Mahmood Naderan <mahmood.nt@gmail.com> wrote: > Excuse me, is there any note for that? > I have stuck at this step. > > Regards, > Mahmood > > > > > On Sat, Mar 14, 2020 at 12:16 AM Mahmood Naderan <mahmood.nt@gmail.com> > wrote: > >> >Does php info run (php -info | grep php.ini)? It should show the >> location of the file (if locate isn't finding it). >> >> I have a php.ini from a program and I copied it to /usr/local/lib/php/ >> The output of the command is >> >> root@fr13:/usr/local/nginx# php -info | grep php.ini >> Configuration File (php.ini) Path => /usr/local/lib >> root@fr13:/usr/local/nginx# cat /usr/local/lib/php/php.ini >> ; >> ; Licensed to the Apache Software Foundation (ASF) under one >> ; or more contributor license agreements. See the NOTICE file >> ; distributed with this work for additional information >> ; regarding copyright ownership. The ASF licenses this file >> ; to you under the Apache License, Version 2.0 (the >> ; "License"); you may not use this file except in compliance >> ; with the License. You may obtain a copy of the License at >> ; >> ; http://www.apache.org/licenses/LICENSE-2.0 >> ; >> ; Unless required by applicable law or agreed to in writing, software >> ; distributed under the License is distributed on an "AS IS" BASIS, >> ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. >> ; See the License for the specific language governing permissions and >> ; limitations under the License. >> ; >> >> ; This file explains the changes needed in your php.ini to run Olio. >> ; >> ; Saving sessions to /tmp is recommended on Solaris/OpenSolaris as /tmp >> ; is on swap and avoid file i/o >> [Session] >> session.save_path="/tmp/http_sessions" >> ; For running more than 5000 users, use: >> ; session.save_path="1;/tmp/http-sessions" >> >> ; These are the required extensions for Olio. >> extension="apc.so" >> extension="pdo_mysql.so" >> extension="odbc.so" >> extension="curl.so" >> extension="memcache.so" >> extension="gd.so" >> >> ; Ensure file_uploads are allowed >> file_uploads = On >> upload_tmp_dir = /tmp >> >> ; Error reporting parameters >> error_reporting = E_ALL ~ E_NOTICE >> display_errors = Off >> log_errors = On >> >> safe_mode = 0 >> short_open_tag = On >> >> >> >> >> >> Is that fine? >> Regards, >> Mahmood >> >> >> >> >>

« previous php.general (#327043) next »