Jump to content

phantom21

New Members
  • Posts

    8
  • Joined

  • Last visited

phantom21's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. now THAT did something. It gave me a lot of info on php. OK! I now tried something else, and the file worked in the browser and anotehr test!!!! Thanks to all. Mark
  2. When I try the command php-cgi I get a return saying the command cannot be found Mark
  3. OK. Found that (finally) and see the php5-load file properly refers to it. So, how come I cannot see, in a browser (firefox) the test.php code? Is there some additional configuration, perhaps in .htaccess or httpd.conf I need to do? Mark
  4. OK, let me restate. I've attempted to reinstall all the php5 required modules, apt-get tells me I have already install php5-common, php5, php-cli, libapache2-mod-php5 and also run the a2enmod php5 command. It says the module is already enabled. when I use find as root (find / libphp5.so and find / modules) the result says it cannot find the file or directory. There is no directory /etc/apache2/modules So, something is broken in the packages, the installation process, or somewhere else. php, according to everything I have used and tried is supposedly installed. Yet, an important directory where the modules should reside is not existing and the important file libphp5.so is also not in evidence. So, once again, how can I fix this/ Thanks, Mark
  5. tried that several times. Even though it says it is installing, and it does do things like create mods-enabled and mods-available (directories underl /etc/apache2)and ppopulate those, it doesn't create or populate /etc/apache2/modules. Mark
  6. done that multiple times. libphp5.so and the modules subdirectory refuse to be made/instlalled. Mark
  7. Yes. I've found the installation of the packages didn't install the modules directory in /etc/apache2 and the file libphp5.so file wasn't available in that and wasn't loaded. That may have had an effect on the cli. When I get that sorted out I will try again. Thanks Mark
  8. I'm not new to Linux, but I am new to php. I'm trying to set up a lamp server. Using Debian 7.2, Apache2, Mysql, and PHP. I want to install wordpress eventually. Doing all this in a VM using virtualbox (4.2.10). Now, have installed the OS. Using apt-get installed apache, mysql, and php. Apache is installed. the test page displays. Mysql I can log into the mysql cli. The php test page does not display. The browser (firefox) says it can't find the file. This test uses the code as follows: <?php phpinfo(); ?>php it was placed in /var/www (the same place the test index.html file is). Further, when I type php -a to invoke the interactive php shell, it seems to halfway work. It acts as if I was in a cli shell, except it doesn't display any kind of a prompt. Further, I can type stuff into this, but it does nothing except move to the next line (after pressing the enter key, as if it was text editor) or nothing. For example, type "echo 5+8;" produces nothing. Looking up documentation on installing these components in debian, the docs say I should have a file libphp5.so in a modules diirectory somewhere. Using find I cannot fine a file libphp5.so nor a directory module or modules. So, a little help here. Anyone have a clue why this is not happening? Thanks, Mark
×
×
  • 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.