Welcome to WebmasterWorld Guest from 54.198.222.129

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

New php installation what is wrong

no activity from php

     
11:09 am on Aug 1, 2006 (gmt 0)

10+ Year Member



I am working with a new server.
The simple program
<?
phpinfo();
?>
fails to produce any output. Adding HTML to it results in the HTML working but not the PHP.

typing
php index.php
on the server gives.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/imap.so' - libc-client.so.0: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
<?
phpinfo();

Can anyone tell me what is wrong and how to fix it?

11:42 am on Aug 1, 2006 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



It may be that short_open_tag is off, but it doesn't seem so. Try using full tags
<?php 
phpinfo();
?>

in your file to double-check anyway. If that still doesn't parse the file, then your installation is botched. I would reinstall and don't forget to include the libraries that you are attempting to use if they aren't installed on your system yet.
12:38 pm on Aug 1, 2006 (gmt 0)

10+ Year Member



Thanks that is it. I had thought the installation was screwed.
I didn't realise you could turn this syntax off and on.
I checked the php.ini file too. It seems strange to me and I can imagine real problems with third party scripts.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month