RE: [PHP] Compiling PHP
| From: | Ralph Guzman | Date: | Tue, 08 Jul 2003 21:50:47 +0000 |
| Subject: | RE: [PHP] Compiling PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154443@lists.php.net to get a copy of this message | ||
The error you are providing here is because you do not have the required
libraries installed. Some of these modules require that the programs or
libraries be installed, php does not install them for you.
This is an extensive config. Are you sure you need all these. I see that
you are trying to enable pgsql, mySQL, interbase. Will you be running
all these databases on you server?
I've looked through your config, and below are some notes I made.
Hope this helps.
..............
>> --prefix=/usr
is there a reason why you must install php to /usr. The default
directory is /usr/local/lib?
>> --with-apxs=/usr/sbin/apxs
is your apache compiled with mod_so for apxs support?
http://httpd.apache.org/docs/programs/apxs.html
>> --enable-safe-mode
this may restrict some php functions
>> --with-exec-dir=/usr/bin
this will allow executables in your /usr/bin directory. This might be a
security risk. Why not let it default to /usr/local/php/bin?
>> --with-zlib
I think this should be --with-zlib-dir=<DIR>
http://www.php.net/zlib
>> --with-regex=system
PHP supports regular expressions by default. Why don't you use
--with-regex=php
http://www.php.net/regex
>> --with-ttf
do you have the FreeType libraries installed?
http://www.php.net/image
>> --with-db
does your server support this type of database?
http://www.php.net/manual/en/ref.dbm.php
>> --with-gdbm
does your server support this type of database?
>> --with-mbstring
do you need multi-byte character support?
http://www.php.net/mbstring
>> --with-mbstr-enc-trans
not sure what this does.
>> --with-libdir
not sure what this does.
>> --with-interbase=shared
are you running Interbase on your server?
http://www.php.net/manual/en/ref.ibase.php
>> --with-pgsql=shared
are you running PostgreSQL on your server?
http://www.php.net/manual/en/ref.pgsql.php
>> --with-ldap
do you have LDAP libraries installed?
http://www.php.net/manual/en/ref.ldap.php
>> --with-imap-ssl
I think this should be --with-imap-ssl=[DIR]
http://www.php.net/imap
>> --with-mysql
are you running MySQL on your server?
http://www.php.net/manual/en/ref.mysql.php
--with-gd
Do you have the GD library installed?
http://www.php.net/manual/en/ref.image.php
--with-png
Do you have PNG library installed?
http://www.php.net/manual/en/ref.image.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php