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
0answers
108 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
2answers
175 views

Numbers are not displaying properly in excel report

n excel report generation, numbers are displaying 7.70225E+11 but it should display like 770225145579 . Any one please help to solve this issue. My code is, <?php include("connection.php"); ...
0
votes
1answer
272 views

How to fix PHP installation when xml2-config is missing?

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
607 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
92 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
201 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 ...
-1
votes
1answer
829 views

Why doesn't Google Chrome show PHP in page source?

Why doesn't Google Chrome show the PHP in the source? For example, here's a page I did (mostly with JQuery). I decided to have a small bit of PHP to fetch the IP address and display it (in a ...
0
votes
1answer
2k views

Failed to open stream: No such file or directory

I have made a backup of all archives from ftp, deleted them all them copied all folders to the same place. Now I got this error: Warning: require(/../private/shADMIN/fuel/app/bootstrap.php): failed ...
0
votes
1answer
310 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
112 views

How to debug Http 406 ERROR?

We have a "web widget" written in VB or Delphi or something that sends a request (by calling a PHP script) to our webserver (apache) to update the database. It's been working for years until yesterday ...
1
vote
1answer
42 views

Is it possible to create subwikis with MediaWiki?

I wan't to create a Wiki for our company which has several product requiring their own Wiki. Is it possible to create subwikis with MediaWiki? If so, how?
-1
votes
2answers
50 views

Converting Perl Regex to PHP [closed]

I have the following Regex in PERL which I need to convert to PHP if($line =~ m/[<]div class="row.* id="(vm_[0-9]{8,9})"[>]/i){ } I currently have the following in PHP to match it, but I'm ...
0
votes
0answers
56 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
75 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'; ...
2
votes
1answer
106 views

Extract text out of two lines in a file and output them in a table

I am trying to make a PHP script for my school. School's web directory has about 100 text files, one text file for each student. Every text file has a two lines like: stu $id = '12701'; stu $name = ...
0
votes
1answer
19 views

Do cronjobs run in CLI?

I am running PHP 5.5 with ZendOPcache integrated. There are two options for this extension - is cache enabled (which I've set to true), and the second one - is CLI cache enabled, which I've set to ...
0
votes
0answers
23 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
167 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 ...
1
vote
2answers
3k views

Can't run localhost PHP server on OSX Mavericks

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
0
votes
1answer
234 views

Stop execution of a function after a given time in PHP

I have five exec() functions in my script. I want to set it up so that if a function fails to respond in a given time, the function will be killed and the next function will start its execution. ...
0
votes
0answers
33 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 ...
1
vote
0answers
305 views

php PDO sqlsrv “could not find driver”

My configuration: - Windows Server 2012 - SQL Server 2012 - Apache 2.4.9 - PHP 5.5.10 My php.ini includes the line - extension=php_pdo_sqlsrv_55_ts.dll My "ext" folder includes the file - ...
0
votes
4answers
727 views

Internal server error on user_directory

Today I am trying to install httpd and mysql on my fedora 14 PC. That works fine. After this I try to create a public_html folder on the user directory and allow php to access that folder. For that I ...
0
votes
0answers
223 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 ...
1
vote
2answers
89 views

Executing PHP from crontab

I am utilizing crontab to execute a PHP file as follows: 0 4 * * * /opt/lampstack/php/bin/php /opt/lampstack/apache2/htdocs/tests/test.php I am pretty sure that the file itself is working properly ...
0
votes
1answer
144 views

How can I install a specific version of laravel?

I've been handed over an application that is based off laravel.. however it's made in a previous version of laravel (3).. and the current laravel version is 4.. is there a way to install a specific ...
0
votes
2answers
112 views

Wamp 5.3.21 on windows 7 64 bit

I want to install PHP version 5.3.21 on my windows 7 64 bit machine. I am able to locate the binaries for 32bit version but not the 64 bit versions Does WAMP 32 bit work on a 64 bit machine like ...
0
votes
1answer
895 views

Upgrade my xampp for linux (UBUNTU) using command line

I have xampp version 1.7 but I want to upgrade it in newest version from command line. Is there any command to upgrade xampp for ubuntu using command line?
0
votes
3answers
69 views

Setting up a local webserver using CentOS on VM

im new here, and basically new at setting up a webserver... now im already googling, and searching here in stackexchange on how to setup a webserver, they tend to direct me to a working server.. i ...
1
vote
0answers
520 views

Received: (from www-data@localhost)

All mails coming from my server has Received: (from www-data@localhost) even though I've set 127.0.0.1 mydomain.org mydomain server2 in /etc/hosts. I think that's the reason why it's ending up in the ...
1
vote
0answers
58 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
4answers
179 views

Mirroring a wordpress website with wget

I'm trying to download a wordpress web-site, my blog actually, and to get the php files as well. So far I've tried - wget -rkp -l3 -np -nH --cut-dirs=1 http://www.sharons.org.uk/ wget -r ...
0
votes
2answers
139 views

PHP / Extension API mismatch

I recently upgraded to Apache 2.4.7 (x86) and PHP 5.5.9 (x86 as Apache module) on Windows 7 x64. I downloaded the Apache binary from apachelounge.com and the PHP binary from windows.php.net. Now the ...
0
votes
0answers
25 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
117 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 ...
1
vote
0answers
32 views

Why Windows XP machine is not accessible from Ubuntu machine?

I am using Windows machine and using it as a sever which is properly accessible from my browser through url, but when I try to access windows directory from Ubuntu, I am not getting access to ...
1
vote
1answer
754 views

Owncloud WebDAV authentication possible via web interface but not desktop client

I just set up Owncloud on my shared webspace and got everything working except authentication from desktop clients. If I go to the WebDAV Url via my webbrowser it just presents me an empty form again, ...
3
votes
1answer
2k views

NginX+PHP-FPM setup: Why is this configuration workaround needed to properly set PATH_INFO? [Debian7.4]

It took several hours to find out how to properly configure NginX, but I still think I might have missed something. Mainly because this perfectly working setup raises more questions than it answers. ...
0
votes
2answers
382 views

Run java in php apache2

I wrote a simple PHP file which calls a java application. It runs on cli without problems but I can't run it on browser. Output: "Java HotSpot(TM) 64-Bit Server VM warning: ...
0
votes
3answers
2k views

CentOS: installing a GD Library

I'm running PHP version 5.3.5. Now I need to install GD Library. When I run: --> yum info php-gd, it says Missing php-common 5.1.6-43.el5_10. php-gd-5.1.6-43.el5_10.x86_64 from updates has ...
1
vote
1answer
358 views

Apache2 + mod_fcgid + php stopped working after upgrade from Debian squeeze to wheezy

I've updated my server from Debian squeeze to Debian wheezy. On this server are several apache2 vhost which running php via mod_fcgid (I'm also using mod_suexec but this shouldn't be the problem). ...
0
votes
1answer
72 views

Can I remove the “New table” button from the Navigation Tree in PHPMyAdmin (4.0.9)?

Every database listed in the left-hand pane has a "New" button for creating a new table, i.e. the first item in this tree. It takes up room and I don't need it. There doesn't seem to be a config ...
0
votes
0answers
128 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
25 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
1answer
358 views

object not found in lampp ubuntu 13.10

am a newbie linux user.i have installed xampp 1.8.3-2(lampp)on ubuntu13.10 and configured it. i paste my wwwfolder to ubuntu 13.10 in/opt/lampp/htdocs. now the owner of www folder is root with ...
0
votes
0answers
109 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
18 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 ...
2
votes
1answer
71 views

How is it possible for a person to upload files to a site they don't have credentials to? [closed]

A little while ago I got this email: hi there, i am [name], security expert. your website is not secured. you use a weak password. and you didnt install security to prevent hacking/malware ...
1
vote
1answer
43 views

Options to configure Apache to take into account other folders despite /var/www

I am using Ubuntu 12.10, and I know that if I place a php file (index.php) under /var/www, and I visit localhost:80/index.php, it will work fine. However, say that I have multiple projects in order ...
0
votes
1answer
81 views

Should I use Python or C for a language interpreter? [closed]

I'm planning on writing a language interpreter for a custom language of mine. The language will work similarly to PHP in that it will be run off of a web server and the code will be executed in the ...