PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

0
votes
1answer
204 views

cronjob not uploading to FTP

i have a php script that should take a file from one web server and upload it on another, when i run the script through a browser it works fine. when i use this cronjob it doesn't upload. 51 14 * * * ...
0
votes
1answer
515 views

Is my router/modem hacked or compromised?

Comcast gave me a gateway (Model: Arris TG862G/CT), and I was in the web interface setting up a static IP. I clicked Connected Devices (which has worked previously) and I got a blank white page (the ...
0
votes
1answer
2k views

How to install Horde Webmail on Ubuntu 14.04?

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github ...
0
votes
1answer
278 views

Yosemite & apache server: The requested URL /Users/jcronin/Sites/media-ocean/index.php was not found on this server

I am currently trying to reconfigure my local apache server. I have run a brew upgrade and have followed the tutorials on coolestguideontheplanet.com. I can get the first page of my Drupal site to ...
0
votes
1answer
4k views

Ho do you stop and start php-fpm?

Ok I'm trying to install Ion Cube on an AWS instance created by Bitnami: https://aws.amazon.com/marketplace/pp/B007OUYR4Y/ref=srh_res_product_title?ie=UTF8&sr=0-4&qid=1413489962522 ...
0
votes
1answer
440 views

Restart TOR service using PHP execution

I want to restart my TOR service with a PHP script in order to receive a new IP address. The reason why I plan to do that is because Google and some other sites start blocking me sometimes. I tried ...
0
votes
1answer
298 views

PHP read permissions messed up

I'll try to be as clear as possible. On my server which runs on ubuntu 14 i installed mutlicraft (a minecraft control panel). After uploading the server i noticed that the server wont run. Thats ...
0
votes
1answer
455 views

Accessing a PHP(xampp) page on local machine from Android

I was trying to access a localhost page using 192.168.56.1. which was working fine yesterday on my emulator as well as in my device . But today when I tried, it is not working I am getting timeout ...
0
votes
1answer
530 views

Forcing SSL on phpmyadmin

I couldn't decide which website this question we be on (since I see it almost everywhere) so feel free to migrate. I've set up a self-signed SSL cert on my server to secure my installation of ...
0
votes
1answer
221 views

Apache is slower on other computers on local area network than on localhost

I have few computers connected into network. There's a server inside that network which hosts WAMP (Windows + Apache + PHP + MySQL). There is Windows 7 x32 Pro installed on it. I can ping that server ...
0
votes
1answer
119 views

Parent process details from the batch script - find out what called the batch script

We have a batch file which is calling php scipts. Php script load some data files to our system. I cannot understand what is starting that batch file in the middle of the night. I cannot find any ...
0
votes
1answer
33 views

How multiple domain can point to same website source code?

Here I am looking for solution like as below. I have multiple website those all should point to one common script folder on a hosting "example.com" --> ".../username/home/public_html/" "abc.com" ...
0
votes
1answer
570 views

Can't get php script to connect to asterisk internal mysql database

I'm trying to get a PHP script to connect to Asterisks internal sql database. I tried the to use the standard method for example $con = mysqli_connect("192.168.1.126","root","mysql","asterisk"); ...
0
votes
1answer
380 views

Drush commands not found when called from a bash script

Relevant system background: I'm using MAMP on OSX. Output of which php is /Applications/MAMP/bin/php/php5.3.14/bin/php Output of which drush is /Applications/MAMP/bin/php/php5.3.14/bin/drush Output ...
0
votes
1answer
976 views

wget index.php redirection - The name is too long

I am trying to get a copy of the catalog. I would love to get the "List View" and "Show Object" details. The URL I am tring to wget is: ...
0
votes
1answer
851 views

Difference between connecting to 127.0.0.1 and server ip

I am brand new to php, databases, and linux and had a problem where I could not connect to mysql databse with the php mysql_connection function. When I used the ip address of my VM I kepy getting a ...
0
votes
1answer
52 views

Mozilla Thunderbird HTTP Authentication

I set up Mozilla Thunderbird on Windows 7 Enterprise, and I set my main page to my own site. (Which requires HTTP/1.1 authentication). Before I even have an HTTP authentication window (displayed for ...
0
votes
1answer
532 views

Unable to start bash script with shell_exec

I've been googling and trying to solve this problem with my php script for a few days now and I'm hoping someone here can see the problem I'm missing in getting my php script to kick off my bash ...
0
votes
1answer
233 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one ...
0
votes
1answer
122 views

Can't login to local phpmyadmin

Hy, I've just installed MySQL and PHPMyadmin on my OS X Maverics, following this link: http://www.coolestguidesontheplanet.com/downtown/get-apache-mysql-php-and-phpmyadmin-working-osx-109-mavericks ...
0
votes
1answer
136 views

login to phpmyadmin on suse 13.1 fails

' i try to login to PhpMyAdmin (on opensue 13.1 lamp) and get error: Login without a password is forbidden by configuration (see AllowNoPassword) What should i do for enter to phpMyAdmin without set ...
0
votes
1answer
5k views

How to enable event MPM Apache 2.4 Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu server 14.04 expecting the default Apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
0
votes
1answer
1k views

Why none of the rainbow parentheses plugins work with filetype=php?

I've tried a dozen rainbow plugins. They all work, until i open a php file or set filetype=php. Then I get parentheses with the same color in that buffer. what is the reason for this? I tried ...
0
votes
1answer
3k 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
1answer
160 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
1answer
865 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
1answer
260 views

apache access.log requests from localhost to localhost

My server is spamming via postfix from www-data user. In apache access.log: 90.156.208.121 - - [20/Jan/2014:17:24:01 +0300] "GET /treningi.php HTTP/1.0" 200 21025 "-" "Mozilla/5.0 (Windows NT 5.1; ...
0
votes
1answer
193 views

I've made a php page as a cron job, how should I format the page?

So, a while back I was looking at how to make them, got it just about figured out, and then found out with 000webhost you can only link to files in your website, and couldn't write a command line ...
0
votes
1answer
208 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
1answer
536 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
1answer
198 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
1answer
965 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 ...
0
votes
1answer
163 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 ...
0
votes
1answer
360 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
126 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
1answer
152 views

Wget getting responce 403

I am using API that has some limit of requests in an hour. But my script does all at one time so I lose about 1/3 of requests because I get 403. Is there any way to check response of wget and if I ...
0
votes
1answer
43 views

Configure a Win server 2003 to php

We have a Win server 2003 SP2 that we do not use now but it would be great to turn this into a php server. What we would like is to use the latest php version 5.5.* and all the mod cons, but before i ...
0
votes
1answer
148 views

Can search find files within unexpanded folders in Netbeans projects sidebar?

In the Projects sidebar of Netbeans, when you start typing letters a partial name match is done on files being displayed the sidebar (a sort of quickfind just by typing, not the ctrl+f find dialog ...
0
votes
1answer
162 views

How to use built-in PHP-FPM in OS X Mountain Lion?

I would like to know how php-fpm included in Mountain Lion (v10.8.5) can be used (eg. with NGINX). I am afraid that some configuration might be needed before it is actually used. NOTE: I know how to ...
0
votes
1answer
36 views

Where is PEAR in PHP5.3?

I downloaded php-5.3.27-Win32-VC9-x86.zip from this site http://www.php.net/releases/ but I cannot find PEAR to install the extra extension. Where exactly is it?
0
votes
1answer
775 views

Laravel Command Line Stuck

This might seem like a dumb question, but I’m pretty new to the command line work. I’m on mac and when I type in “php artisan serve” everything runs great, the server starts, I get a message telling ...
0
votes
1answer
148 views

nginx + php fpm security issue?

I am new user of nginx + php-pfm, but I am a little bit confused about security. For example I am running a few pools with different uid/gid as TCP sockets. So theoritically it is possible that any ...
0
votes
1answer
123 views

Updating PHP dlls on Windows automatically

Is there any way to automatically check if there is any update for installed php extenstions in Windows (similar to what you do for pear classes)?
0
votes
1answer
57 views

Need to iterate through a list of files and append text at the first line of the files in th list on a Linux CentOS system

I need to be able to append the text <?php to the beginning of php files in a list.
0
votes
1answer
2k views

Can't connect to SMTP server using PHP Mailer but can with Gmail?

I am getting the following error from PHP Mailer when running a script in my local PC: SMTP -> ERROR: Failed to connect to server: A connection attempt failed because the connected party did not ...
0
votes
1answer
7k views

Curl returns “Connection Refused” when trying to access XAMPP via localhost

I am running XAMPP (Apache, MySQL and PHP) on my Windows Vista computer. I have curl installed on my machine. When I try to curl my localhost in the command prompt, I get the following: curl -v -i ...
0
votes
1answer
906 views

Installing libevent via PECL fails on Ubuntu 12.04

I have Ubuntu 12.04 built with Moodle Stack installed. I'm trying to install this: $ sudo pecl install libevent I get this error: Failed to download pecl/libevent within preferred state "stable", ...
0
votes
1answer
94 views

How do I enable PHP on Mountain Lion and view a PHP file?

I followed this guide to enable PHP on Mountain Lion, but now I have no idea where to access the page. I tried localhost/~myusername/info.php where info.php if my file, but nothing loads.
0
votes
1answer
711 views

xampp 1.8.1 on Windows 8 issues with PHP code using Notepad++

I am currently having a problem with xampp on windows 8. I installed xampp 1.8.1 and I didn't have any problems with the installation and I was able to configure Apache and MySQL just fine. But when I ...
0
votes
1answer
75 views

Wamp windows 8 problems

I am unable to see the menus that normally appear when I hover/select apache,php or mysql. These windows refuse to float to the lefthand side of the wamp server root menu, I barely see the edge of the ...