• 7
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I'm using the Composer Windows installer and it brings me to this window,

enter image description here

There is nothing in the dropdown, but I'm not sure where to pick the correct command-line PHP. Should I direct it to the php.exe in XAMPP folder?

If you are using wampp do this:

  1. Click the browser button.

  2. Then select your file path like following path.

(C:\wamp\bin\php\php5.4.12\php.exe)

If you are using xampp do this:

  1. Click the browser button.

  2. Then select your file path like the following path.

(C:/xampp/php/php.exe)

  • 51
Reply Report

I came across the same screen. I'm using Vertrigo Server and all the things that I have done was pick the php.exe file path by clicking on "Browse..." button (on my machine it is on C:\Program Files\VertrigoServ\Php\php.exe). Hope that helps.

  • 2
Reply Report

Composer automatically detects the directory in which your php.exe file is located. mainly it is in C:\xampp\php directory if you are using Xampp server and C:\wamp\bin\php\php7.4.1 directory if using wamp server. If your composer browser don't automatically detects the location of php.exe then you can use your browse option to locate it.

  • 0
Reply Report

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags

Related Questions