PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

0
votes
1answer
251 views

How do I make a shell script that restarts a Java program every x minutes in Linux?

How do I make a script that restarts a java program every X minutes in Linux? I will be using: PHP A linux godaddy hosting account (classic, and I don't know what OS) a .sh script FTP (to access ...
-1
votes
1answer
80 views

Fastest Database Software [closed]

I would like to make my own search engine. I would like to know the best way to go about this. I just have some questions ... Should I use Facebook's HipHop PHP to C++ compiler for speed? What would ...
1
vote
1answer
24 views

Imagick jpeg:size option not working on one server but not the other

Not sure if this should be posted here or on stackoverflow so figured this was the safer bet. I'm using Imagick to resize jpegs. This is part of the code $prehintSize = (int) $requestedWidth > ...
0
votes
1answer
93 views

Executing System call in PHP to run SCP asks for password, every time, even though SSH key is set up

So I am creating a PHP script that uploads an image from my local environment to a remote server. I have my SSH keys set up on both ends and if I simply execute the scp command in terminal it ...
0
votes
0answers
66 views

Automatically resize image on the shorter side regardless of orientation in imagemagick

Im struggling to resize an image regardless of orientation using imagemagick, is the program that terrible that a basic detection method is not even included? Do I have to now go and check the ...
0
votes
0answers
49 views

LAMP + SSH2 extension libraries

I'm running a Lubuntu distribution with LAMP installed trough "tasksel". I want to install the ssh2 lib extension, but I can't make it works. apt-get install libssh2-1-dev libssh2-php After ...
0
votes
1answer
44 views

How do I monitor resource usage of crond php scripts?

I am using a VPS which is running 5 php scripts on a minute by minute basis using cron. Each script, itself, loops to execute a mysql query then sleeps for between 5 and 15 seconds. They all ...
0
votes
0answers
30 views

Building php module on linux - lpsolve55

I'm trying to install a php model called lpsolve. I installed it on OS, now trying to make a use of it for php. I installed them as explained here: http://jeyroz.tumblr.com/post/605709794/lpsolve-php ...
0
votes
0answers
75 views

Need convert my Vanilla 2 forum to phpbb3. I found some great progress, but don't know how to finish them

Alright, so I'm wanting to convert my Vanilla 2 forum to phpbb3. Ive searched all over the internet and found countless requests for such a thing, but almost zero help. Theres supposedly a way to ...
0
votes
1answer
304 views

installing apache, php5 on windows 7 64 bit [production]

The easiest way to install apache, php, mysql and phpmyadmin on windows is to download and install XAMP. The problem is that it is meant for development purposes and is not recommended for production ...
1
vote
1answer
388 views

How to run Visual Studio 2008 and WAMP server on same local machine running WIndows7?

I'm having a machine running on Windows 7. First I installed WAMP server on my local machine. It was working fine. Then I installed Microsoft Visual Studio 2008. From that time the WAMP server is not ...
0
votes
0answers
44 views

How to make Sublime Text highlight “$this->” for PHP?

How do I make Sublime Text highlight $this-> for PHP files?
0
votes
0answers
36 views

Routing SSH connection via PHP webserver

I have a interesting task I'm trying to do, looking for help :) Basically, I have a home Ubuntu server box. On this box, it has a cron job to load a webpage on my web server that is hosted on a ...
1
vote
2answers
136 views

Apache is allowing PHP files to download when routed through mod_rewrite

I'm setting up a new server, which seems to almost be working. I've done my homework, but I seem to be stuck. PHP works. When I try to access the following URLs, which serve the same page correctly ...
1
vote
1answer
515 views

404 not found error for JavaScript files when accessing web page on localhost

The page loads up fine, but console shows a 404 not found error for JavaScript files. I have verified that the code contains the correct JavaScript file name. Any ideas? The JavaScript file is loaded ...
0
votes
1answer
59 views

Extracting Data from PHP Codes

I am fetching data from a third party software in the form of CSV; while the remaining data is downloaded correctly; whilst there is one column that returns PHP codes. This code contains useful ...
4
votes
2answers
1k views

Error starting Apache with PHP module on Windows: “Cannot load php5apache2_4.dll into server: Access is denied”

I'm having some difficulty installing Apache 2.4.7 with PHP 5.5.7 on Windows Vista Service Pack 2. When trying to start Apache, I'm getting the error: Syntax error on line 176 of C:/Program ...
0
votes
0answers
46 views

Debian PHP 500 error

When I try to execute a php script (let's say /var/www/test/hello.php), I get an error in /var/log/apache2/error.log saying: "/var/www/test" is writeable by others Changing the permission on ...
0
votes
0answers
232 views

Getting an audio file from a streaming PHP script in an HTML5 video tag

I'm trying to download the raw audio file from a specific site. The page contains the following HTML: <html> <body> <video controls="" autoplay="" name="media"> ...
0
votes
0answers
57 views

DKIM only filters from pine, not php mail

I've setup DKIM filters by following the steps on this page: http://blog.mixu.net/2009/11/03/setting-up-spf-senderid-and-dkim-on-centos-5-3-using-sendmail/ I've verified that DKIM Signature headers ...
0
votes
0answers
14 views

Viewing CURL url's in ubuntu

I can see in top that curl is being called at a very large rate, there are 10+ open connections. Is there a way in ubuntu to see the URL's they are getting?
0
votes
1answer
41 views

How do I fix the default version of PHP after uninstalling PHP OSX?

I installed PHP OSX because I wanted to test some PHP 5.5 code on the command-line/interactive shell. On my local web server, I started receiving errors in functional code from before I installed PHP ...
0
votes
1answer
255 views

Checking what PHP version I'm running on Debian?

I'm running Debian 6 and I need to know what version of PHP I'm running, is there a command for this which I can run? I tried "php -i" and "php -v" from a previous question.. ...
1
vote
2answers
520 views

Can't setup Nginx with PHP on Arch linux

I have tried to set up a LEMP server (Nginx, PHP, MySQL) on Arch Linux for a while, and have tried a few different online tutorials. Most recently I tried: http://www.adminempire.com/how-to-insta … ...
0
votes
1answer
44 views

Windows 8 Enterprise Fail to boot after environment variable setting

I have some problem with my PC after using windows 8 enterprise edition. I use my PC for web development work. So for using PHP framework i need to set the environment variables, in my case i set to ...
0
votes
0answers
107 views

How do I set up xPaw's PHP Minecraft Query

I am a very basic beginner at coding. I am trying to set up xPaw's PHP Minecraft Query to ping my server, but I do not know what components I need to make it work! Can someone compile all of the ...
0
votes
0answers
43 views

Apache doesn't start in Ubuntu

I'm trying to get my apache2 to work under Ubuntu. I've installed all packages from MySQL to PHP and Apache. When I program on PHP, the PHP scripts aren't recognized and aren't interpreted. I ...
0
votes
2answers
145 views

.htaccess add multiple xdebug.remote_host

I am using NetBeans to remote debug a PHP application. Currently I have an entry in the .htaccess file on the remote directory to allow access to a single IP. I frequently switch between wired and ...
0
votes
3answers
7k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So at first I was getting this error when trying to create databases for use in phpmyadmin. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I ...
0
votes
0answers
89 views

can't load xmldiff pecl extension to apache

I installed xmldiff via pecl on my server. everything went fine without any error messages but when restarting apache I get the following error: PHP Warning: PHP Startup: Unable to load dynamic ...
0
votes
1answer
1k views

How to install PHP 5.3 on CentOS 6?

I finally found a place for all the PHP 5.3 files. I have all the links, I just really don't know where else to go from having the links. Simply doing "yum install linkshere" just gave me issues like ...
0
votes
0answers
13 views

Incorrect visualization fo character in local server

I am playing a little with a software of accounting based on PHP and MySql. I have installed on my Linux Debian a version of Lighttpd. The problem is that some special character are not well ...
0
votes
0answers
234 views

How to retrieve media:description output of picasa album from rss feeds vis xml parsing?

How to retrieve media:description output of picasa album from rss feeds vis xml parsing? Actually i need to retrieve photo with its description from picasa but am able to get all the english letters. ...
0
votes
0answers
36 views

Install PHP 5.3 for one directory only

I am on a CentOS 6 VPS, with Apache & PHP 5.4. I need to have PHP 5.3 on only one folder, but no where else. How do I install PHP 5.3 without conflicting with my current PHP installation and ...
1
vote
0answers
54 views

How to connect with Github repository in Eclipse?

I have created a repository in https://github.com. And installed Eclipse Kepler as the IDE. I want to commit my local file to this remote repository. By default Eclipse Kepler contains Egit for ...
0
votes
0answers
11 views

How to downgrade PHP 5.4 to 5.3 - Centos 6 [duplicate]

Well after about maybe 50 Google searches and reading 2k pages, I ain't finding anything to help me downgrade my PHP version. If you ask why, it's because the scripts I use, use session_register and ...
1
vote
1answer
338 views

How to restart PHP on windows ? Unable to find the socket transport “ssl”

I am trying to load openssl module, I uncommented it in the php.ini: extension=php_openssl.dll But when running my script I get error: Failed to connect: 0 Unable to find the socket transport ...
2
votes
2answers
632 views

Unable to write files on CentOS

I have a VPS running on CentOS 6 and apache2 as webserver. I have several PHP scripts running in my server, and everything goes smooth, except to file writing. For some reason, my PHP scripts are ...
0
votes
0answers
59 views

How to update from PHP 5.4 to PHP 5.5.3 in Cent OS 6.4?

I am using Cent OS 6.4 (64bit- x86_64 VPS) and have Nginx, MySQL and PHP 5.4 installed. I want to update from PHP 5.4 to 5.5.3. Can anybody tell me how to do that? Thx.
0
votes
0answers
379 views

How to install PHP driver for Informix?

In my company I am using Windows 8, IBM Informix Dynamic Server, XAMPP v3.2.1, IBM Informix Client SDK 4.10 (64-bit). I have tried downloading php_pdo_informix.dll, php_pdo.dll, all I've got was: ...
0
votes
0answers
31 views

RewriteCond to redirect request coming from unknown IP

Suppose I've website www.abcd.com developed with Linux , Apache, PHP & MySQL stack. I've webpage www.abcd.com/redirect.php created to redirect all unauthorized users. If request is made website ...
4
votes
4answers
526 views

What all is required for email from my server to pass through spam filters?

I have a serverbeach server with postfix installed. The hostname is something like p3204059.pubip.serverbeach.com The FQDN is specified as NONE for the server itself. I clicked change ptr record, ...
0
votes
0answers
93 views

Adding modules to bundled php in OS Mavericks

I am using the bundled php on my macbook to run some php through the terminal. But my scripts throw a fatal error when trying to use SQLite Classes. I checked with php -m and there is no module named ...
0
votes
1answer
199 views

Mamp server is compiling very slow

I'm running PHP 5.5.3 on a MAMP server, and the "compiling" of my php-file takes quite a lot of time. I've heard that I should disable the caching in the php.ini file, but I can't seem to find ...
0
votes
1answer
136 views

Updating php 5.3.x to 5.4.x

Currently I'm on PHP 5.3.6 and would like to upgrade to 5.4.x or 5.5.x Trough this website: http://php-osx.liip.ch/ I've installed PHP 5.5 and when I log in my terminal (php -v) I get this: PHP ...
0
votes
1answer
49 views

Netbeans comment vars

How can I know about full list of comments operations for Netbeans? I saw @var @param and @return. What is the difference between /* and /** ? How can I find tutorials about Netbeans comments variable ...
-1
votes
1answer
165 views

How to quickly insert large amounts of days into MySQL? [closed]

I'm looking for a way to insert a ton of data manually into a MySQL table in the most efficient way. The source data currently lives on a web page (outside my control and so no access to the ...
0
votes
0answers
36 views

unable to move files to others dirs on wordpress

I have a website in wordpress and something has happened that I've never seen before. I tried to do uploads, the first upload worked, but the second always show me a error message like this: Warning: ...
0
votes
1answer
138 views

Understanding the scope and lifetime of environment variables in shell scripting

I'm pulling my hair out trying to understand shell scripting and passing environment variables, and what not. I'm trying to execute a PHP script from TextWrangler, that in it's turn opens a new PHP ...
0
votes
0answers
354 views

How to downgrade PHP 5.4 to 5.3? Centos 6

So I need to downgrade to 5.3 because of my script uses session_register, and it has been removed in php 5.4. People have linked me to code that I should add to the script where the issue occurs, but ...