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

1
vote
0answers
371 views

PHP include and require statements fails after a number of executions

I'm having a very strange issue, where PHP include and require statements fails after a number of executions. The site is running on IIS 7/Windows 2008 R2 and the site's content is stored in a remote ...
1
vote
0answers
714 views

How do I run a PHP script through SSH using MAMP?

I have a PHP socket script that I run from SSH on a remote dedicated server, but I want to try doing that using MAMP with SSH. I have MAMP configured and am running a remote web server on port 80. I ...
1
vote
0answers
77 views

Zend studio can't open files with long name?

It fails to open such files: f83ac0fa419a277bec5820ab6298a688d0cd69f8.file.header_xxx_new.tpl.php Which can be opened in other text editors like editplus. Zend Studio Professional Edition Build ...
1
vote
0answers
210 views

“PHP Error” when running PHPUnit tests from within Komodo IDE

I am using the latest version of the Komodo IDE, PEAR and PHPUnit with PHP version 5.3.0. When I run the unit tests for my Komodo project the tests run correctly, but regardless of whether there are ...
0
votes
0answers
7 views

Centos 6 - Lighttpd/ 403 error on PHP files, and issues adding website

So, I do have PHP/MySQL and PHP-FPM installed, but when I try to access PHP files, I get a 403 forbidden error. I have been looking around Google quite a lot, and not finding anything that is solving ...
0
votes
0answers
16 views

How to install PHP5.3 instead of PHP5.5 in Linux

I am fairly new to Linux (just getting set up using the Mint 16 distro), and I got everything working correctly with my Apache 2.4.9 with MySQL and PHP5.5, but I am using this for local Web ...
0
votes
0answers
23 views

php shell_exec not working in centos

i would like to convert .docx file to .html using php shell_exec my php code: $command = "libreoffice --headless -convert-to html resume.docx 2>&1"; $result = shell_exec($command); echo ...
0
votes
0answers
13 views

Windows server 2012 r2 IIS PHP

I have php installed on a windows server 2012 r2 box that is running IIS When running a script with a mail function it will hang and eventually bring this error: C:\Program Files ...
0
votes
0answers
10 views

Is mod_fastcgi-2.4.6 compatible with apache2.4.9 CentOS?

I need to install multiple php handlers in apache2.4.9 one php version as apache handler and other one I need to run as mod_fastcgi but while compiling and installing with apache 2.4.9 I'm getting a ...
0
votes
0answers
18 views

How can I compile and install Apache2.4.9 with multiple PHP versions (5.5, PHP5.4)

I have compiled apache2.4.9 and php 5.5 with php5.4 versions php 5.5 version is installed succssfully as apache handler and I tried php5.4 with cgi and enabled LoadModule cgi_module modules/mod_cgi.so ...
0
votes
0answers
13 views

phpMyAdmin No activity within 1440 seconds; please log in again. Issue

I have installed latest phpMyAdmin on Apache+php+mysql on CentOs. But after sometime of inactivity i am getting No activity within 1440 seconds; please log in again. And redirected to the ...
0
votes
0answers
25 views

How can I use FSContact Form to send email to database as a newsletter signup?

From the FSCF website, it appears to have the capability. As you see here, you can create a newsletter signup like this (basically it is a simple contact form that says "newsletter signup" but it's ...
0
votes
0answers
6 views

How To Read multiple Remote Text File and echo out a certain value

I have 50 readable txt files on my office website. I don't have access on my websites Cpanel. Each text file has the following format: client $user = 'lighthou_joom194'; client $id = 'P2K4k@SZ)2'; ...
0
votes
0answers
14 views

store mysql database details in linux

I have a test server and live server which has all the files the same (a cio) except I want to connect to a test copy of my msql database on the test server. How secure would it be to have a ...
0
votes
0answers
53 views

Raspberry Pi as server - stuck with users and groups

I just installed an apache2 server with php5 and mysql on my RPi (Raspbian Wheezy). I followed this tutorial: tutorial link Everything went well, even the file transfer via FTP (FileZilla). I ...
0
votes
0answers
16 views

Bizarre lag in HTTP connection

Running on a LAMP stack, CentOS 6, Apache 2.2.3, PHP 5.4.25, MySQL 5.5.31 Have a very complex web application. It's been running pretty smoothly for about 5 years, now. Of a sudden we've run into ...
0
votes
0answers
20 views

Short URLs not working with MediaWiki on nginx

I've been trying to configure Mediawiki Short URL's with nginx, but I keep getting 404 errors when trying to access the pages of my wiki. I followed this guide but changed location / to location ...
0
votes
0answers
28 views

Updating old stock ticker symbols

I did a study in 2003 that produced a list of about 300 publicly-traded US stocks. Ticker symbols can change (ticker symbols can even take over an older company's previous ticker). My situation boils ...
0
votes
0answers
15 views

Has Wordpress any performarce advantage over Joomla on Google App Engine?

I wonder what are the benefits of having Wordpress over Joomla on Google's PaaS. Since Wordpress is officially supported there should be some benefits, right? I have googled for a while and haven't ...
0
votes
0answers
14 views

Socksify php script

I am trying to socksify php script network connections, however I am unable to do that, script ignores the socksifyer, just connects directly. I tried using tsocks and torsocks. tsocks php ...
0
votes
0answers
8 views

Metronic image tag issue on safari

Metronic theme image tag issue on safari. image tag doesn't show image when it will selected on add or selected time but in edit time it was show image.
0
votes
0answers
28 views

Somehow PHP mail() is not working but webmail is working on VPS

I'm using a vps with zpanelcp installed. Everything was working fine. But somehow all mailing capabilities using PHP mail() is not working. But Roundcube is still able to send mail perfectly. I ...
0
votes
0answers
41 views

nohup process commands to detect if process is still running and if not, re-run process in lamp stack

I am running nohup to keep a php script running in the background. Is there anyway to ensure the process keeps running? Is there a command that can check to see if the process is still running and if ...
0
votes
0answers
15 views

Why isn't Apache starting on xampp

Sorry, I searched a lot and i know that there are lots of posts reporting problems like this but none of them helped me. I installed xampp on Windows 8 but when I click to start apache it doesn't ...
0
votes
0answers
30 views

how to get php executable path file of a system remotely?

I want to debug php codes and I am using zend debugger in Eclipse environment and I have a remote server access(ftp). I used PHP_BINDIR to find out about the path file of the php executable file: ...
0
votes
0answers
13 views

No debug menu for php in Eclipse

I'd like to set up debug for PHP in Eclipse, the problem is that I don't know where to find the debug configuration. In this tutorial there's a PHP section with an item "Debug" but in my Eclipse ...
0
votes
0answers
43 views

PhpStorm 6.0 say that a built-in Web server is not available

I am currently using JetBrains PhpStorm 6.0 and when trying to add a PHP Built-in Web Server to use the Debug function with Xdebug as interpreter, and it says that it is only available since PHP 5.4. ...
0
votes
0answers
172 views

PHP 5.4.24 is upgraded, but the previous version 5.2.6 is still running in XAMPP 1.6.7

I'm using XAMPP 1.6.7 with PHP 5.2.6 on Windows 7. I'm trying to upgrade PHP 5.4.24 without upgrading XAMPP. I tried to upgrade XAMPP several times by taking a backup of the htdocs and data folder ...
0
votes
0answers
10 views

Host name of Rediffmail which can be used with IMAP

What is the host name and port number Rediff provides which can be used with IMAP to access emails received.
0
votes
0answers
29 views

How to reset the Apache web server password on Mac?

When I try to start the Apache web server on our Mac it asks for a password. I forgot the password and I know that I was the one who put the password on it because I'm the only person in our family ...
0
votes
0answers
34 views

How do I unformat unused rows in libreoffice calc columns to reduce loading time/memory use in PHPExcel

I have just started using PHPExcel to try to read data for application development. I have found that a few of my libreoffice calc 3.4 spreadsheets can be read quickly while most take a very long ...
0
votes
0answers
17 views

Enabling PHP on a SSL website in Virtualmin

I have PHPMyAdmin installed on my server (from apt-get, Ubuntu 13.10) and force it to run secure. But when I go to it it just server the PHP pages as plain text. The main/default website works fine in ...
0
votes
0answers
28 views

How do I set up an Event Viewer filter to show only PHP errors?

I'm running PHP on Windows Server 2008. I have figured out how to log errors to Event Viewer. How do I create a filtered view to show me only PHP errors? Can I set up a view that only shows PHP ...
0
votes
0answers
52 views

CentOS upgrade PHP compile modules

I'm currently using CentOS 6.4 which by default comes with PHP 5.3.3 (installed via yum install php). I now wish to upgrade to the latest version of PHP. I already downloaded and compiled PHP. ...
0
votes
0answers
86 views

set open_basedir on php.ini

some scanning tool program recommends to set my open_basedir on php.ini for one of my website inside /var/www/my_site im not running any virtualhost, so i access the website basically by typing the ...
0
votes
0answers
379 views

Can't install php-fpm: dependency issues

I'm trying to install php-fpm for my nginx server. Trying to install through yum (yum --enablerepo=remi install php-fpm php-mysql), I get the next error: Error: Package: ...
0
votes
0answers
34 views

php - killing a process which ran for a lot of time or using a lot of Memory

I am not sure whether this question belong to stackOverflow or here. But here we go. I am designing a online 'C' compiler, which will compile and invoke the program if compilation succeeded So ...
0
votes
0answers
89 views

Apahce proxy throws error connecting to a third party

Connection to a certain thirdparty service via php curl throws this error: CURL error: Received HTTP code 403 from proxy after CONNECT The apahe error log on the proxy throws this: Connect to ...
0
votes
0answers
42 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
34 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
0answers
21 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
42 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
0answers
39 views

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

How do I make Sublime Text highlight $this-> for PHP files?
0
votes
0answers
30 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 ...
0
votes
0answers
29 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
215 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
46 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
12 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
0answers
101 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
40 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 ...