Jump to content

Testing PHP installation


Recommended Posts

How can I test the completeness of a php5 installation on a FreeBSD box running v-6.0 O/S and Apache 2.x. After installation, several *.php pages simply open up with a "ent" in the uppermost left-most corner of the page.

"apropos php" at the command line seems to indicate the the installation is present

...

...

...

apropos php

php(1)                   - PHP Command Line Interface 'CLI'

php-config(1)            - get information about PHP configuration and compile options

phpize(1)                - prepare a PHP extension for compiling

user 213% php-config

Usage: /usr/local/bin/php-config [OPTION]

Options:

  --prefix            [/usr/local]

  --includes          [-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib]

  --ldflags           [ -L/usr/local/lib -L/usr/local/lib/mysql -L/usr/local/pgsql/lib]

  --libs              [-lcrypt   -lcrypt -laspell -lpspell -lpq -lmysqlclient -lmcrypt -lltdl -liconv -lintl -lpng -lz -ljpeg -lcurl -lssl -lcrypto -lm  -lxml2 -lz -lm -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt ]

  --extension-dir     [/usr/local/lib/php/extensions/debug-non-zts-20060613]

  --include-dir       [/usr/local/include/php]

  --php-binary        [/usr/local/bin/php]

  --php-sapis         [cli apache2handler]

  --configure-options [--with-apxs2=/usr/local/apache2/bin/apxs --with-gettext --with-mcrypt --with-iconv --enable-mbstring=all --enable-mbregex --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-mysql --enable-fastcgi --enable-force-cgi-redirect --enable-discard-path --disable-path-info-check --with-openssl --with-curl --with-pgsql --with-pspell --enable-zend-multibyte --with-pear=/usr/lib/php --with-tsrm-pth --enable-debug]

  --version           [5.2.6]

  --vernum            [50206]

 

phpinfo() does not run, probably because --disable-path-info-check is set

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.