LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [Solved] php.ini not loaded?

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2012, 05:29 AM
thelunny thelunny is offline
Member
 
Join Date: Feb 2012
Posts: 13
Default [Solved] php.ini not loaded?

After I build the latest version of PHP 5, my phpinfo() shows "Loaded Configuration File" as (none).

The "Configuration File (php.ini) Path" is displayed as /usr/local/lsws/lsphp5/lib but I could not find any php.ini there.

Is this normal?

How can I test if php has been built properly?

--

The following is my configure command:

'./configure' '--prefix=/usr/local/lsws/lsphp5' '--with-litespeed' '--with-libdir=lib' '--disable-debug' '--with-pic' '--disable-rpath' '--with-pear' '--with-bz2' '--with-exec-dir' '--with-freetype-dir' '--with-png-dir' '--with-xpm-dir' '--enable-gd-native-ttf' '--without-gdbm' '--with-t1lib' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir' '--with-openssl' '--with-pcre-regex' '--with-zlib' '--with-layout' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir' '--enable-xml' '--with-system-tzdata' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap' '--with-imap-ssl' '--enable-mbstring' '--enable-mbregex' '--with-ncurses' '--with-gd' '--enable-bcmath' '--enable-dba' '--with-db4' '--with-xmlrpc' '--with-ldap' '--with-ldap-sasl' '--with-mysql' '--with-mysqli' '--enable-dom' '--with-pgsql' '--enable-wddx' '--with-snmp' '--enable-soap' '--with-xsl' '--enable-xmlreader' '--enable-xmlwriter' '--with-curl' '--enable-pdo' '--with-pdo-odbc=unixODBC,/usr' '--with-pdo-mysql' '--with-pdo-pgsql' '--with-pdo-sqlite' '--with-pdo-dblib' '--enable-json' '--enable-zip' '--with-readline' '--with-ssh2' '--enable-dbase' '--with-pspell' '--with-mcrypt' '--with-mhash' '--with-tidy' '--with-mssql' '--enable-sysvmsg' '--enable-sysvshm' '--enable-sysvsem' '--enable-posix' '--enable-suhosin'
Reply With Quote
  #2  
Old 02-10-2012, 06:25 AM
thelunny thelunny is offline
Member
 
Join Date: Feb 2012
Posts: 13
Solved by copying the php.ini file from /usr/local/lsws/php to /usr/local/lsws/lsphp5/lib
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:17 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.