Chocked



I was chocked when I got my additional dedicated server from my server
provider. I assumed everyting would have been the same as I ordered the
server with same package name etc. The chocking part was that the server had
PHP5 and not PHP4.



Ok, it is not a hard piece of work to get it working, but one thing stunned
me :-)



Assuming that I have the following structure:



/index.php

/classes/first.class.php

/classes/second.class.php



Index.php:



include_once("classes/first.class.php");





first.class.php



include_once("second.class.php");





This worked fine, but this time I get an "open dir" error. Is this something
that is new to PHP5 for this, or do I just need to config the server to
accept this "sloppy" including of files?



Best regards,

Peter Lauri



<http://www.dwsasia.com/> www.dwsasia.com - company web site

<http://www.lauri.se/> www.lauri.se - personal web site

<http://www.carbonfree.org.uk/> www.carbonfree.org.uk - become Carbon Free





Relevant Pages

  • PDO_MYSQL causes Apache to segfault on Ubuntu (I think)
    ... When this code is executed against MySQL server using PDO_MYSQL ... it to be the MySQL PDO extension on Ubuntu Server. ... server Apache spits this out into its error.log file. ... Improved module for php5 ...
    (Ubuntu)
  • Re: PHP 5 or PHP 4 compatible codes
    ... Savut wrote: ... are you writing codes with any compatibility care? ... > recommended for production server at this stage. ... use PHP5 only when your ...
    (comp.lang.php)
  • Re: how to start php
    ... >>Just installed the php5 package. ... >>Here's what the footer shows on a page on my local server. ... try installing phpmyadmin and seeing if it will run. ...
    (Debian-User)
  • Re: PHP4->PH5 tutorial
    ... sure your existing code will play nicely under PHP5? ... What I want to do is 'upgrade' my site from PHP4 to PHP5. ... This is why I would need to run both version on one server, ... perhaps you may invest in getting a PHP consultant to do an assessment ...
    (comp.lang.php)
  • Re: getting file size for really big (10GB) files?
    ... I am surprised that PHP can't simply get the same result as 'ls'. ... limitations on the server installation I can use. ... Php5 on Fedora I really expected to ...
    (comp.lang.php)