|Related to : what "php" is running on my server?|
|Server running/PHP running/won't process|
I have Apache 1.3.27 with PHP4 running as a module not cgi. In the
server it says Apache/1.3.27 PHP/4.2.3 running. The problem is that
the php isn’t working. It will display the html with no problem but
it won’t process the php even though it says php is running. As far
as I can tell I have it configured right but there might be something
that I am over looking.
I have the same files on another server
that I have uploaded them to and it works fine on that server. I have
made no changes so why isn’t it working on my computer? I am looping
it back by using 127.0.0.1 for an address. It is something that I must
not have quite right but I haven’t figured it out yet. Any help will
|Running PHP code locally (NOT on a server or for a server)|
I want to convert my existing site (http://www.devimg.net) from ASP to
PHP. I'm a PHP newbie and the current host (Brinkster) doesn't support
PHP so I need to get an account elsewhere, but before I do that I want
to get a working PHP version of my site to make sure I can do it with
Since there aren't any good free webhosts, I want
to just develop and run the scripts on my hard drive; the internet
doesn't need to be involved at all. So how do I do that? PHP.net seems
geared completely towards people running webservers, which makes
sense, but all I want to do is run PHP code to generate HTML (or
access files, or work with MySQL).
EDIT: It doesn't actuall
|Running PHP server on own PC...|
I'm pretty sure if I used google long enough, I'd find the answer, but
right now am busy looking at stuff, and don't feel like looking...
I'm curious if I could set up my own web-server on my PC (XP Home
SP2 and I've ran a webserver on my own pc at one time...), and run PHP
on it at the same time... (and maybe with mysql...). How would I go
about doing that?
|Running php code on server|
I'm a bit of a beginner to php and indeed web programming.
to know how I can start a php program running on website server. In
fact I need how to start and stop it.
The program takes data that
is dumped onto the server, and formats the data and places it in a
database. The data is dumped on the server every minute.
to write another php program to draw some graphs based on the data in
This raises yet another question about
synchronization. What if the program on the server is updating the
database at the same time as the database is being accessed by someone
over the internet.
Or is there some better way of reading d
|what "php" is running on my server?|
I want to see what php code is hogging my server resources, but by a
common task manager all I can see is a bunch httpd processes which do
not tell me much, I want to know what php code called that new httpd
process...how can I "unmask" this httpd processes to see what php
code/web page called them?
|How can you share PHP variables with all PHP scripts running on a server?|
To be clear, I'm not looking for the sharing of
- Between areas of code in the one request using $GLOBALS.
- Between sessions with $_SESSION.
- Between requests that serialize the variables for storage (e.g.,
APC or memcached).
What I am looking for is a mechanism whereby the
zval structures are persisted in memory
I've written a small number of PHP C extensions (with plain old C
and with PHP-CPP), so if this has to be done with an extension, that's